#pragma once
#include <ClanLib/display.h>
#ifndef __gameconstants
#include "gameconstants.h"
#define __gameconstants
#endif

class Enemy {
public:
	Enemy(void);
	Enemy(float posX, float posY);
	Enemy(CL_Sprite* image);
	~Enemy(void);

	void setPosX(float posX);
	void setPosY(float posY);

	void setRange(int range);
	int getRange();

	float getPosX();
	float getPosY();
	float getStartPosX();

	EnemyDirection::MovingDirection getMovingDirection();
	void setMovingDirection(EnemyDirection::MovingDirection direction);

	float getMovingSpeed();
	void setMovingSpeed(float speed);

	CL_Sprite* getImage();
	void setImage(CL_Sprite* image);

private:
	float movingSpeed;
	float hitpoints;

	int range;

	CL_Sprite* image;

	float posX;
	float posY;
	float startPosX;
	float startPosY;

	EnemyDirection::MovingDirection direction;
};
